<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="java.io.*"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Struts2 Upload</title>
</head>
<body>
<s:property value="describe" /><br>
<s:iterator value="userfileFileName" id="#filename">
	<s:property value="#filename" /><br>
</s:iterator>

<br><jsp:include page="header.jsp"></jsp:include><br>

<form action="struts2FileUploadAction" method="post" enctype="multipart/form-data">
<table>
<tr><td>描述：</td><td><input type="text" name="describe" /></td></tr>
<tr><td>文件1：</td><td><input type="file" name="userfile" /></td></tr>
<tr><td>文件2：</td><td><input type="file" name="userfile" /></td></tr>
<tr><td><input type="submit" value="上传" /></td><td></td></tr>
</table>
</form>
</body>
</html>